package com.ruoyi.system.service.impl;

<<<<<<< HEAD
import com.ruoyi.system.domain.aiChat;
import com.ruoyi.system.mapper.aiChatMapper;
import com.ruoyi.system.service.IaiChatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * aiChatService业务层处理
 *
=======
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.aiChatMapper;
import com.ruoyi.system.domain.aiChat;
import com.ruoyi.system.service.IaiChatService;

/**
 * aiChatService业务层处理
 * 
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
 * @author ruoyi
 * @date 2025-01-09
 */
@Service
<<<<<<< HEAD
public class aiChatServiceImpl implements IaiChatService {
=======
public class aiChatServiceImpl implements IaiChatService 
{
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
    @Autowired
    private aiChatMapper aiChatMapper;

    /**
     * 查询aiChat
<<<<<<< HEAD
     *
=======
     * 
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
     * @param id aiChat主键
     * @return aiChat
     */
    @Override
<<<<<<< HEAD
    public aiChat selectaiChatById(Long id) {
=======
    public aiChat selectaiChatById(Long id)
    {
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
        return aiChatMapper.selectaiChatById(id);
    }

    /**
     * 查询aiChat列表
<<<<<<< HEAD
     *
=======
     * 
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
     * @param aiChat aiChat
     * @return aiChat
     */
    @Override
<<<<<<< HEAD
    public List<aiChat> selectaiChatList(aiChat aiChat) {
=======
    public List<aiChat> selectaiChatList(aiChat aiChat)
    {
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
        return aiChatMapper.selectaiChatList(aiChat);
    }

    /**
     * 新增aiChat
<<<<<<< HEAD
     *
=======
     * 
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
     * @param aiChat aiChat
     * @return 结果
     */
    @Override
<<<<<<< HEAD
    public int insertaiChat(aiChat aiChat) {
=======
    public int insertaiChat(aiChat aiChat)
    {
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
        return aiChatMapper.insertaiChat(aiChat);
    }

    /**
     * 修改aiChat
<<<<<<< HEAD
     *
=======
     * 
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
     * @param aiChat aiChat
     * @return 结果
     */
    @Override
<<<<<<< HEAD
    public int updateaiChat(aiChat aiChat) {
=======
    public int updateaiChat(aiChat aiChat)
    {
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
        return aiChatMapper.updateaiChat(aiChat);
    }

    /**
     * 批量删除aiChat
<<<<<<< HEAD
     *
=======
     * 
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
     * @param ids 需要删除的aiChat主键
     * @return 结果
     */
    @Override
<<<<<<< HEAD
    public int deleteaiChatByIds(Long[] ids) {
=======
    public int deleteaiChatByIds(Long[] ids)
    {
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
        return aiChatMapper.deleteaiChatByIds(ids);
    }

    /**
     * 删除aiChat信息
<<<<<<< HEAD
     *
=======
     * 
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
     * @param id aiChat主键
     * @return 结果
     */
    @Override
<<<<<<< HEAD
    public int deleteaiChatById(Long id) {
=======
    public int deleteaiChatById(Long id)
    {
>>>>>>> 7da01911d5dbf413cf29d391451f20746bfa929c
        return aiChatMapper.deleteaiChatById(id);
    }
}
